import React from "react";
import { Outlet, Link } from "react-router-dom";

export default function Home() {
  return (
    <div>
      <h1>Home</h1>
      <Link to="/home/hello">Hello</Link>
      <Link to="/home/world">World</Link>

      {/* 提供一个坑 Outlet */}
      <Outlet />
    </div>
  );
}
